<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class ArticleController extends Controller
{
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function alist()
    {
        $lists = [
            ['id'=>'10001','title'=>'大头儿子','cate'=>'行业动态','from'=>'H-ui','date'=>'2014-6-11 11:11:42','views'=>'21212','status'=>'已发布'],
            ['id'=>'10001','title'=>'小头爸爸','cate'=>'行业动态','from'=>'H-ui','date'=>'2014-6-11 11:11:42','views'=>'21212','status'=>'已发布'],
            ['id'=>'10001','title'=>'围裙妈妈','cate'=>'行业动态','from'=>'H-ui','date'=>'2014-6-11 11:11:42','views'=>'21212','status'=>'已发布'],
            ['id'=>'10001','title'=>'幸福一家','cate'=>'行业动态','from'=>'H-ui','date'=>'2014-6-11 11:11:42','views'=>'21212','status'=>'已发布'],
        ];
        return view('admin.article.alist',compact('lists'));
    }

    /**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function create()
    {
        //
    }

    /**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function store(Request $request)
    {
        //
    }

    /**
     * Display the specified resource.
     *
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function show($id)
    {
        //
    }

    /**
     * Show the form for editing the specified resource.
     *
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function edit($id)
    {
        //
    }

    /**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function update(Request $request, $id)
    {
        //
    }

    /**
     * Remove the specified resource from storage.
     *
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function destroy($id)
    {
        //
    }
}
